MailPoet\EmailEditor\Engine\ThemeController S

Total Complexity 39
Dependencies 3
Dependents 8
Total lines 231
Lines of code 150
Logical lines of code 103
Comment lines 49
Methods 11
Properties 2

Methods 11

Method Rating Maintainability Complexity Lines of code
getStylesheetForRendering()
A
40 12 57
getStyles()
S
55 5 18
getVariablesValuesMap()
S
62 3 11
maybeConvertPreset()
S
63 3 10
recursiveReplacePresets()
S
63 3 10
translateSlugToFontSize()
S
65 3 9
translateSlugToColor()
S
63 3 10
getTheme()
S
65 2 9
getSettings()
S
65 2 9
getStylesheetFromContext()
S
77 2 3
__construct()
S
73 1 4